<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Betting CMS</title>
<script language="javascript">
	var actionName = "<?= $this->actionName(); ?>"
</script>
<link href="<?=$this->applicationUrl()?>/public/css/admin-screen.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?=$this->applicationUrl()?>/public/css/admin-print.css" rel="stylesheet" type="text/css" media="print" />
<link href="<?=$this->applicationUrl()?>/public/images/favicon.ico" rel="shortcut icon" />     

</head>
<body>
    <div id="main">
        <div id="header">
            <h1>&nbsp;</h1>
                  
        </div>
        <div id="container">
            <div class="breadcrumb">
                <p>Welcome!</p>
            </div>
            <div id="context">
            	<?php 
            	if($this->identity) : 
                	$this->addScriptPath(APPLICATION_PATH . '/views/scripts');
                    echo $this->render('menu/admin.phtml');
                else : 
                    echo '&nbsp;';
            	endif; ?>
            </div>
            <div id="content">
               	<?php
			    	echo $this->layout()->content
			  	?>
            </div>
        </div>
        <div id="footer">
            <p>Copyright &copy; 2009 NMCAN</p>
        </div>
    </div>

</body>      
</html>


<?php
    echo $this->headScript();
?>

<?php if( $this->actionName() == 'news-create'): ?>
<script language="javascript">
	$("content_vi").value = '';
	$("content_en").value = '';
</script>
<?php endif; ?>